home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power Programmierung
/
Power-Programmierung (Tewi)(1994).iso
/
batch
/
library
/
batutl2
/
seterror.doc
< prev
next >
Wrap
Text File
|
1986-08-13
|
3KB
|
55 lines
SETERROR-sets the ERRORLEVEL for DOS batch file processing
by Tony Alan Rhea 10/24/83
This program accepts one command line argument and sets the
DOS ERRORLEVEL to that argument. Currently, this program has
a limit of 9 for the errorlevel, but apparently DOS has a a
much higher limit (FFh -- the code is returned in a half-reg).
An invalid or missing argument gives an error message and an
errorlevel 0. This program requires DOS 2.0.
Usage:
SETERROR n
where n is between 0 and 9.
Copyright (C) 1983 Tony Alan Rhea
This program may be copied and distributed for personal use
but not for profit provided this notice is included. Author makes
no warranty, expressed or implied, as to the correct nature and
operation of this software.
You may make and distribute as many copies of this program as you wish
for your PERSONAL use only ( NOT for business purposes, please! ).
Feel free to modify, mutilate, or adulterate this program. If you come
up with an bug or improvement, please let me know by writing me at this
address:
Tony A. Rhea
1030 Ivy Lane
Cary, NC 27511
If you do modify it, please give me credit in the program. This helps
to preserve my ego and increase my fame (but, unfortunately, NOT my
financial status). Also, I would appreciate a copy of the modified
version, preferably on disk (I'll be happy to return your diskette).
If you like this program ( or HATE it ), please let me know. Drop me
a line at the address given above.
This program has been submitted for publication in PC-WORLD magazine.
Revision history:
rev 1.0 10/24/83 { original release }
This disk copy was originally provided by "The Public Library",
the software library of the Houston Area League of PC Users.
Disks in the Public Libray are updated monthly. Check with us
for the latest versions of all programs.
Programs are available from the Public Library at $2 per disk
on user-provided disks. To get a listing of the disks in the
Public Library, send a self-addressed, stamped envelope to
Nelson Ford, P.O.Box 35705, Houston, TX 77235-5705